package com.qf.dao.blog.mapper;

import com.qf.api.blog.entity.ArticleTagEntity;
import com.qf.dao.mybatis.InsertBatchMapper;
import org.apache.ibatis.annotations.Delete;
import org.apache.ibatis.annotations.Mapper;

/**
* @author sin
* @description 针对表【t_article_tag(文章对应标签关联表)】的数据库操作Mapper
* @createDate 2025-05-23 13:27:40
* @Entity com.qf.api.entity.TArticleTag
*/
@Mapper
public interface ArticleTagMapper extends InsertBatchMapper<ArticleTagEntity> {
    // 通过文章Id删除文章标签关联
    @Delete("DELETE FROM t_article_tag WHERE article_id = #{articleId}")
    void deleteByArticleId(Long articleId);


}




